﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<!-- Resource dictionary entries should be defined here. -->
	
	<SolidColorBrush x:Key="blueFontBrush" Color="#FF2975CE"/>
    <Style x:Key="BlueButtonStyle1" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter Property="FocusVisualStyle" Value="{DynamicResource SimpleButtonFocusVisual}"/>
        <Setter Property="Background" Value="{DynamicResource NormalBrush}"/>
        <Setter Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">

					<!--Each state sets a brush on the Border in the template -->
					<ControlTemplate.Triggers>
						<Trigger Property="IsDefault" Value="False"/>
						<Trigger Property="IsMouseOver" Value="True"/>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsPressed" Value="True"/>
								<Condition Property="Panel.Background" Value="{x:Null}"/>
							</MultiTrigger.Conditions>
						</MultiTrigger>
						<Trigger Property="IsPressed" Value="false"/>
						<Trigger Property="IsEnabled" Value="true"/>
                        
					</ControlTemplate.Triggers>
				</ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>